<?php 
 header("Content-type:text/html;charset=utf-8");
 //$schools = array();
 $schools = array('大连东软信息学院','东财','理工' );

 $schools[3] = '大连海洋大学';
 $schools[] = '东北财经大学';
  //ar_dump($schools);
 //遍历指标数组
for( $i=0 ; $i<count($schools) ; $i++ )
{
	echo $i+1;
	echo $schools[$i];
	echo '<br>';
}
 foreach ($schools as $one) 
 {
 	echo $one;
 	echo '<br>';
 }
 foreach ($schools as $index => $one) 
 {
 	echo $index+1;
 	echo ' '.$one.'<br>';
 	
 }



 ?>

